home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Into His Marvelous Light
/
Into His Marvelous LIGHT.iso
/
lesson1.dxr
/
00104_Script_Go to Frame X Button
< prev
next >
Wrap
Text File
|
2001-09-05
|
952b
|
48 lines
-- DESCRIPTION --
on getBehaviorDescription me
return "¼
GO TO FRAME X"&RETURN&RETURN&"¼
Moves the playback head to the chosen frame ¼
when the user clicks on the sprite"&RETURN&RETURN&"¼
PERMITTED MEMBER TYPES:"&RETURN&"Graphic members"&RETURN&RETURN&"¼
PARAMETERS:"&RETURN&"¼
* Go to which frame on mouseUp?"
end getBehaviorDescription
on getBehaviorTooltip me
return "¼
Use with graphic members."&RETURN&RETURN&"¼
Moves the playback head to"&RETURN&"¼
the chosen frame on mouseUp."
end getBehaviorTooltip
-- HISTORY --
-- 3 November 1998, written for the D7 Behaviors Palette by James Newton
property myTargetFrame
on mouseUp me
go myTargetFrame
go to the frame
end mouseUp
on getPropertyDescriptionList me
return ¼
[ ¼
#myTargetFrame: ¼
[ ¼
#comment: "Go to which frame on mouseUp?:", ¼
#format: #integer, ¼
#default: the frame ¼
] ¼
]
end getPropertyDescriptionList